﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
  public  class ShopContext:DbContext
    {
        public ShopContext() : base("name=connStr")
        {

        }
        public DbSet<Address> Address { get; set; }
        public DbSet<Collection> Collection { get; set; }
        public DbSet<Customer> Customer { get; set; }
        public DbSet<DanPin> DanPin { get; set; }
        public DbSet<GuiGe> GuiGe { get; set; }
        public DbSet<GuiGeZhi> GuiGeZhi { get; set; }
        public DbSet<Logs> Logs { get; set; }
        public DbSet<Message> Message { get; set; }
        public DbSet<Module> Module { get; set; }
        public DbSet<Order> Order { get; set; }
        public DbSet<OrderDetl> OrderDetl { get; set; }
        public DbSet<Product> Product { get; set; }
        public DbSet<ProductCategory> ProductCategory { get; set; }
        public DbSet<Role> Role { get; set; }
        public DbSet<Role_User> Role_User { get; set; }
        public DbSet<ShoppingCart> ShoppingCart { get; set; }
        public DbSet<Sku_GuiGeZhi> Sku_GuiGeZhi { get; set; }
        public DbSet<Spu_GuiGe> Spu_GuiGe { get; set; }
        public DbSet<User> User { get; set; }
        public DbSet<V_IndexData> V_IndexData { get; set; }
        public DbSet<RoleModule> RoleModule { get; set; }
        public DbSet<V_Module_RoleModule> V_Module_RoleModule { get; set; }
        public DbSet<RoleMo> RoleMo { get; set; }
        public DbSet<Banner> Banner { get; set; }
        public DbSet<V_Order> V_Order { get; set; }
       // public DbSet<V_CUserModule> V_CUserModule { get; set; }
        public DbSet<V_CUserModules> V_CUserModules { get; set; }
        public DbSet<V_ShopCart> V_ShopCart { get; set; }
        public DbSet<V_Productdata> V_Productdata { get; set; }
        public DbSet<View_Order_Detiles> View_Order_Detiles { get; set; }
    }
}
